package edu.hwadee.BEIS.entity;
// default package

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * VocationalEducationalGroup entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "vocational_educational_group", catalog = "beis")

public class VocationalEducationalGroup implements java.io.Serializable {

	// Fields

	private Integer educationalGroupId;
	private SchoolBasicInfor schoolBasic;
	private Integer leadEducationalGroupCount;
	private String leadEducationalGroupNameList;
	private Integer leadEducationalGroupJoinCompanyCount;
	private String leadEducationalGroupJoinCompanyNameList;
	private Integer leadEducationalGroupJoinSchoolCount;
	private String leadEducationalGroupJoinSchoolNameList;
	private Integer leadEducationalGroupJoinMajorCount;
	private String leadEducationalGroupJoinMajorNameList;
	private Integer joinEducationalGroupCount;
	private String joinEducationalGroupNameList;
	private Short countyAuditStatus;
	private Short cityAuditStatus;
	private Date modifyTime;

	// Constructors

	/** default constructor */
	public VocationalEducationalGroup() {
	}

	/** minimal constructor */
	public VocationalEducationalGroup(SchoolBasicInfor schoolBasic, Integer leadEducationalGroupCount,
			Integer leadEducationalGroupJoinCompanyCount, Integer leadEducationalGroupJoinSchoolCount,
			Integer leadEducationalGroupJoinMajorCount, Integer joinEducationalGroupCount, Short countyAuditStatus,
			Short cityAuditStatus, Date modifyTime) {
		this.schoolBasic = schoolBasic;
		this.leadEducationalGroupCount = leadEducationalGroupCount;
		this.leadEducationalGroupJoinCompanyCount = leadEducationalGroupJoinCompanyCount;
		this.leadEducationalGroupJoinSchoolCount = leadEducationalGroupJoinSchoolCount;
		this.leadEducationalGroupJoinMajorCount = leadEducationalGroupJoinMajorCount;
		this.joinEducationalGroupCount = joinEducationalGroupCount;
		this.countyAuditStatus = countyAuditStatus;
		this.cityAuditStatus = cityAuditStatus;
		this.modifyTime = modifyTime;
	}

	/** full constructor */
	public VocationalEducationalGroup(SchoolBasicInfor schoolBasic, Integer leadEducationalGroupCount,
			String leadEducationalGroupNameList, Integer leadEducationalGroupJoinCompanyCount,
			String leadEducationalGroupJoinCompanyNameList, Integer leadEducationalGroupJoinSchoolCount,
			String leadEducationalGroupJoinSchoolNameList, Integer leadEducationalGroupJoinMajorCount,
			String leadEducationalGroupJoinMajorNameList, Integer joinEducationalGroupCount,
			String joinEducationalGroupNameList, Short countyAuditStatus, Short cityAuditStatus, Date modifyTime) {
		this.schoolBasic = schoolBasic;
		this.leadEducationalGroupCount = leadEducationalGroupCount;
		this.leadEducationalGroupNameList = leadEducationalGroupNameList;
		this.leadEducationalGroupJoinCompanyCount = leadEducationalGroupJoinCompanyCount;
		this.leadEducationalGroupJoinCompanyNameList = leadEducationalGroupJoinCompanyNameList;
		this.leadEducationalGroupJoinSchoolCount = leadEducationalGroupJoinSchoolCount;
		this.leadEducationalGroupJoinSchoolNameList = leadEducationalGroupJoinSchoolNameList;
		this.leadEducationalGroupJoinMajorCount = leadEducationalGroupJoinMajorCount;
		this.leadEducationalGroupJoinMajorNameList = leadEducationalGroupJoinMajorNameList;
		this.joinEducationalGroupCount = joinEducationalGroupCount;
		this.joinEducationalGroupNameList = joinEducationalGroupNameList;
		this.countyAuditStatus = countyAuditStatus;
		this.cityAuditStatus = cityAuditStatus;
		this.modifyTime = modifyTime;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")

	@Column(name = "educational_group_id", unique = true, nullable = false)

	public Integer getEducationalGroupId() {
		return this.educationalGroupId;
	}

	public void setEducationalGroupId(Integer educationalGroupId) {
		this.educationalGroupId = educationalGroupId;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "school_id", nullable = false)

	public SchoolBasicInfor getSchoolBasic() {
		return this.schoolBasic;
	}

	public void setSchoolBasic(SchoolBasicInfor schoolBasic) {
		this.schoolBasic = schoolBasic;
	}

	@Column(name = "lead_educational_group_count", nullable = false)

	public Integer getLeadEducationalGroupCount() {
		return this.leadEducationalGroupCount;
	}

	public void setLeadEducationalGroupCount(Integer leadEducationalGroupCount) {
		this.leadEducationalGroupCount = leadEducationalGroupCount;
	}

	@Column(name = "lead_educational_group_nameList", length = 100)

	public String getLeadEducationalGroupNameList() {
		return this.leadEducationalGroupNameList;
	}

	public void setLeadEducationalGroupNameList(String leadEducationalGroupNameList) {
		this.leadEducationalGroupNameList = leadEducationalGroupNameList;
	}

	@Column(name = "lead_educational_group_join_company_count", nullable = false)

	public Integer getLeadEducationalGroupJoinCompanyCount() {
		return this.leadEducationalGroupJoinCompanyCount;
	}

	public void setLeadEducationalGroupJoinCompanyCount(Integer leadEducationalGroupJoinCompanyCount) {
		this.leadEducationalGroupJoinCompanyCount = leadEducationalGroupJoinCompanyCount;
	}

	@Column(name = "lead_educational_group_join_company_nameList", length = 100)

	public String getLeadEducationalGroupJoinCompanyNameList() {
		return this.leadEducationalGroupJoinCompanyNameList;
	}

	public void setLeadEducationalGroupJoinCompanyNameList(String leadEducationalGroupJoinCompanyNameList) {
		this.leadEducationalGroupJoinCompanyNameList = leadEducationalGroupJoinCompanyNameList;
	}

	@Column(name = "lead_educational_group_join_school_count", nullable = false)

	public Integer getLeadEducationalGroupJoinSchoolCount() {
		return this.leadEducationalGroupJoinSchoolCount;
	}

	public void setLeadEducationalGroupJoinSchoolCount(Integer leadEducationalGroupJoinSchoolCount) {
		this.leadEducationalGroupJoinSchoolCount = leadEducationalGroupJoinSchoolCount;
	}

	@Column(name = "lead_educational_group_join_school_nameList", length = 100)

	public String getLeadEducationalGroupJoinSchoolNameList() {
		return this.leadEducationalGroupJoinSchoolNameList;
	}

	public void setLeadEducationalGroupJoinSchoolNameList(String leadEducationalGroupJoinSchoolNameList) {
		this.leadEducationalGroupJoinSchoolNameList = leadEducationalGroupJoinSchoolNameList;
	}

	@Column(name = "lead_educational_group_join_major_count", nullable = false)

	public Integer getLeadEducationalGroupJoinMajorCount() {
		return this.leadEducationalGroupJoinMajorCount;
	}

	public void setLeadEducationalGroupJoinMajorCount(Integer leadEducationalGroupJoinMajorCount) {
		this.leadEducationalGroupJoinMajorCount = leadEducationalGroupJoinMajorCount;
	}

	@Column(name = "lead_educational_group_join_major_nameList", length = 100)

	public String getLeadEducationalGroupJoinMajorNameList() {
		return this.leadEducationalGroupJoinMajorNameList;
	}

	public void setLeadEducationalGroupJoinMajorNameList(String leadEducationalGroupJoinMajorNameList) {
		this.leadEducationalGroupJoinMajorNameList = leadEducationalGroupJoinMajorNameList;
	}

	@Column(name = "join_educational_group_count", nullable = false)

	public Integer getJoinEducationalGroupCount() {
		return this.joinEducationalGroupCount;
	}

	public void setJoinEducationalGroupCount(Integer joinEducationalGroupCount) {
		this.joinEducationalGroupCount = joinEducationalGroupCount;
	}

	@Column(name = "join_educational_group_nameList", length = 100)

	public String getJoinEducationalGroupNameList() {
		return this.joinEducationalGroupNameList;
	}

	public void setJoinEducationalGroupNameList(String joinEducationalGroupNameList) {
		this.joinEducationalGroupNameList = joinEducationalGroupNameList;
	}

	@Column(name = "county_auditstatus", nullable = false)

	public Short getCountyAuditStatus() {
		return this.countyAuditStatus;
	}

	public void setCountyAuditStatus(Short countyAuditStatus) {
		this.countyAuditStatus = countyAuditStatus;
	}

	@Column(name = "city_auditstatus", nullable = false)

	public Short getCityAuditStatus() {
		return this.cityAuditStatus;
	}

	public void setCityAuditStatus(Short cityAuditStatus) {
		this.cityAuditStatus = cityAuditStatus;
	}

	@Column(name = "modify_time", nullable = false, length = 19)

	public Date getModifyTime() {
		return this.modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

}